package com.softserveinc.data.dal;

import java.util.List;

import com.softserveinc.data.help.MovieListType;
import com.softserveinc.model.Movie;

public interface IMovieDao {

	List<Movie> getListByOrder(final MovieListType listOrder);

	List<Movie> getListBySearchQuery(final String searchQuery);

	void insertMovieList(final List<Movie> movies, final MovieListType order);

	void addMovieList(final List<Movie> movies, final MovieListType order);

	void insertSearchedMovieList(final String seqrchQuery,
			final List<Movie> movies);

	void insertOrUpdate(final Movie movie);

	void deleteMovie(final Movie movie);
}
